package com.doubi.model.sys;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 酒店菜单
 *
 * @author MrDoubi
 * @since 2020-03-16
 */
@Data
@TableName("t_hotel_menu")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class THotelMenu extends Model<THotelMenu> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    @TableField("user_oid")
    private String userOid;
    @TableField("hotel_oid")

    private String hotelOid;

    @TableField("img")

    private String img;

    @TableField("name")

    private String name;


    @TableField("price")

    private BigDecimal price;


    @TableField("menu")

    private String menu;


    /**
     * 个数
     */
    @TableField("count")

    private Integer count;


    @TableField("service_price")

    private String servicePrice;


    /**
     * 备注
     */
    @TableField("remarks")

    private String remarks;


    @TableField("create_time")

    private Date createTime;


    @TableField("update_time")

    private Date updateTime;


    /**
     * 删除状态（0已删除/1未删除）
     */
    @TableField("is_delete")
    @TableLogic

    private Integer isDelete;


}